package com.fwixvye.pojo.rolePack;

import com.fwixvye.pojo.Role;

import java.util.LinkedHashMap;
import java.util.Set;

public class R250枫原万叶 extends Role {

    @Override
    public LinkedHashMap<String, Double> singleRoleComputing() {
        LinkedHashMap<String, Double> aMap = new LinkedHashMap<>();
        aMap.put("一段伤害", 0.889);
        aMap.put("二段伤害", 0.894);
        aMap.put("三段伤害1", 0.51);
        aMap.put("三段伤害2", 0.62);
        aMap.put("四段伤害", 1.20);
        aMap.put("五段伤害1", 0.501);
        aMap.put("五段伤害2", 0.501);
        aMap.put("五段伤害3", 0.501);
        aMap.put("重击伤害1", 0.85);
        aMap.put("重击伤害2", 1.475);
        aMap.put("下坠期间伤害", 1.618);
        aMap.put("低空坠地冲击伤害", 3.23);
        aMap.put("高空坠地冲击伤害", 4.04);

        LinkedHashMap<String, Double> eMap = new LinkedHashMap<>();
        eMap.put("点按技能伤害", 3.46);
        eMap.put("长按技能伤害", 4.69);

        LinkedHashMap<String, Double> qMap = new LinkedHashMap<>();
        qMap.put("斩击伤害", 4.72);
        qMap.put("持续伤害", 2.16);
        qMap.put("附加元素伤害", 0.648);


        LinkedHashMap<String, Double> tMap = new LinkedHashMap<>();
        Set<String> aSet = aMap.keySet();
        for (String s : aSet) {
            double damage = damageCalculatorZF(aMap.get(s), 15, 15, 19, 0.1, 90, 90);
            tMap.put("A" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> eSet = eMap.keySet();
        for (String s : eSet) {
            double damage = damageCalculatorZF(eMap.get(s), 10, 10, 19, 0.1, 90, 90);
            tMap.put("E" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> qSet = qMap.keySet();
        for (String s : qSet) {
            double damage = damageCalculatorZF(qMap.get(s), 10, 10, 19, 0.1, 90, 90);
            tMap.put("Q" + s, Double.parseDouble(String.format("%.1f", damage)));
        }



        return tMap;
    }
}
